package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class InboxBean implements Serializable,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int new_message_count ;
	private int owner_actor_id ;
	public int getNew_message_count() {
		return new_message_count;
	}
	public void setNew_message_count(int new_message_count) {
		this.new_message_count = new_message_count;
	}
	public int getOwner_actor_id() {
		return owner_actor_id;
	}
	public void setOwner_actor_id(int owner_actor_id) {
		this.owner_actor_id = owner_actor_id;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, InboxBean.class);
		}
		return null;
	}

}
